
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.PersonalRest;
import com.cmc.dao.PersonalRestDao;

public interface PersonalRestManager extends Manager {
    /**
     * Retrieves all of the personalRests
     */
    public List getPersonalRests(PersonalRest personalRest);

    /**
     * Gets personalRest's information based on id.
     * @param id the personalRest's id
     * @return personalRest populated personalRest object
     */
    public PersonalRest getPersonalRest(final String id);

    /**
     * Saves a personalRest's information
     * @param personalRest the object to be saved
     */
    public void savePersonalRest(PersonalRest personalRest);

    /**
     * Removes a personalRest from the database by id
     * @param id the personalRest's id
     */
    public void removePersonalRest(final String id);
}

